1
general::
Receive acknowledgment or praise for some accomplishment, as in Bill got all the credit for attracting a big audience. Similarly, give credit for means "acknowledge" or "praise," as in We should give the pianist credit for her work in the program. [Mid-1700s]
American Heritage Idioms